package org.flexthinker.binding.value
{
    /**
     * Interface implemented by objects exposing the <code>equals</code>
     * method in order to decide whether is "equal" or not with another object.
     */
    public interface EqualsCapableObject
    {
        /**
         * Indicates whether some other object is "equal to" this one.
         * @param obj  the reference object with which to compare.
         * @return <code>true</code> if this object is the same as the obj
         *          argument; <code>false</code> otherwise.
         */
        function equals(obj:Object):Boolean;
    }
}